package com.itheima.loopdemo;

public class whileDemo1 {
    public static void main(String[] args) {
        //需求：利用while循环打印1-100
        int i=1;
        while(i<=100){
            System.out.println(i);
            i++;
        }

    }
}
